package com.woniuxy.servlet;

import java.io.IOException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class ServletDemo01
 */
/*@WebServlet("/ServletDemo01")*/
public class ServletDemo01 extends HttpServlet {
	
	@Override
	public void init(ServletConfig config) throws ServletException {
		// TODO Auto-generated method stub
		System.out.println("ServletDemo01...init");
	}
	
	@Override
	public ServletConfig getServletConfig() {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	protected void service(HttpServletRequest req, HttpServletResponse resp) 
			throws ServletException, IOException {
		System.out.println("ServletDemo01...service");
	}
	
    @Override
    public String getServletInfo() {
    	// TODO Auto-generated method stub
    	return null;
    }	

	@Override
	public void destroy() {
		System.out.println("ServletDemo01...destroy");
	}
}
